package cn.itcast.configuration;

import cn.itcast.pojo.AliProperties;
import cn.itcast.utils.OSSUtils;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

@EnableConfigurationProperties(AliProperties.class)
public class OSSUtilsConfiguration {
    @Bean
    public OSSUtils getOSSUtils(){
        return new OSSUtils();
    }
}
